﻿//main.cpp
//测试common/log
#include "../../common/include/std.h"
#include "../../common/log/log.hpp"

int main(int argc, const char* argv[])
{
	int iResult,iTmp;
	STD_BUFFER bufData;

	iResult=LOG_INIT("1.log", 0, 0, 1);
	log_info("12345 %d %d %d",6,7,8);
	log_hex("a","12345",5);

	bufData.resize(500, 0);
	for (int i = 0; i < 1000; i++)
	{
		log_hex_buf("a", bufData);
	}

	cout << "end" << endl;

_Exit:
	//PRESS_ANY_KEY_TO_CONTINUE;
	return 0;
}